<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ContentSettings.ascx.cs" Inherits="Controls_ContentSettings" %>
<link rel="STYLESHEET" type="text/css" href="Styles/rich_calendar.css"></link>
<script type="text/javascript" src="Javascripts/rich_calendar/rich_calendar.js"></script>
<script type="text/javascript" src="Javascripts/rich_calendar/rc_lang_en.js"></script>
<script type="text/javascript" src="Javascripts/domready/domready.js"></script>
<div id="divJavascript" runat="server"></div>
<table class="general" cellpadding="0" cellspacing="0" >
    <tr>
        <td style="padding-top: 5px;vertical-align: top; height: 100%" >
            <fieldset style="width: 98%;">
               <legend><img alt="Vote" src="Images/dj/vote.gif" style="width:20px;" />&nbsp;Voting:</legend>
               <table cellpadding="0" cellspacing="0" class="general">
                    <tr>
                        <td style="padding-left: 10px">
                            Start Date:
                            <asp:TextBox ID="txtVoteStDate" CssClass="textbox textboxMan" Width="75px" runat="server"></asp:TextBox>
                            <input id="btnShowCal" runat="server" type="button" style="background-image: url(Images/dj/cal.gif); width: 24px; height: 23px; background-color: Transparent; border: none 0px;" />
                            <asp:RequiredFieldValidator ID="rfvVoteStDate" runat="server" 
                                ControlToValidate="txtVoteStDate"
                                EnableClientScript="true"
                                Display="None"></asp:RequiredFieldValidator>
                            <asp:RangeValidator ID="rvVoteStDate" runat="server" 
                                ControlToValidate="txtVoteStDate"
                                Display="None"
                                Type="Date" ></asp:RangeValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-left: 10px">
                            <fieldset style="width: 98%;">
                                <legend>Voter Tracking:</legend>
                                <asp:CheckBoxList ID="cblVoterTracking" CssClass="solid" runat="server" Width="100%"></asp:CheckBoxList>
                            </fieldset>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; vertical-align: top; padding-top: 5px;padding-left: 10px" >
                            <fieldset style="width: 98%;">
                                <legend>Mandatory element:</legend>
                                <asp:CheckBoxList ID="cblMandatory" runat="server" RepeatColumns="2" RepeatDirection="Horizontal" Width="100%"></asp:CheckBoxList>
                            </fieldset>
                        </td>
                    </tr>
               </table>
            </fieldset>
        </td>
        <td rowspan="3" style="width: 50%; height: 100%;padding-top: 5px" valign="top">
            <fieldset style="width: 98%;">
                <legend><img alt="Nominate" src="Images/dj/nominate.gif" style="width:20px;" />&nbsp;Nomination:</legend>
                <table cellpadding="0" cellspacing="0" class="general">
                    <tr>
                        <td><asp:CheckBox ID="cbParticipation" runat="server" Text="Allow nomination" /></td>
                    </tr>
                    <tr>
                        <td style="padding-left: 10px" style="padding-top: 5px;">
                            <table id="tabNomination" cellpadding="0" cellspacing="0" class="general" style="width: 100%">
                                <tr>
                                    <td colspan="2" style="width: 100%">
                                        Start Date:
                                        <asp:TextBox ID="txtParticipationStDate" CssClass="textbox textboxMan" Width="75px" runat="server" MaxLength="12"></asp:TextBox>
                                        <input id="btnShowCal2" runat="server" type="button" style="background-image: url(Images/dj/cal.gif); width: 24px; height: 23px; background-color: Transparent; border: none 0px;" />
                                        <asp:RequiredFieldValidator ID="rfvParticipationStDate" runat="server" 
                                            ControlToValidate="txtParticipationStDate"
                                            EnableClientScript="true"
                                            Display="None"></asp:RequiredFieldValidator>
                                        <asp:RangeValidator ID="rvParticipationStDate" runat="server" 
                                            ControlToValidate="txtParticipationStDate"
                                            Display="None"
                                            Type="Date"></asp:RangeValidator>
                                        <asp:CompareValidator ID="cvParticipationStDate" runat="server" 
                                            ControlToValidate="txtParticipationStDate"
                                            ControlToCompare="txtVoteStDate"
                                            Operator="LessThan"
                                            Display="None" 
                                            Type="Date"></asp:CompareValidator> 
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding-top: 5px;">
                                        <fieldset style="width: 98%;">
                                            <legend>Nominee Tracking:</legend>
                                            <asp:CheckBoxList ID="cblNomineeTracking" CssClass="solid" runat="server" Width="100%"></asp:CheckBoxList>
                                        </fieldset>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding-top: 5px;">
                                        <fieldset style="width: 98%;">
                                            <legend>Maximum Nomination Count:</legend>
                                            <table cellpadding="0" cellspacing="0" class="general">
                                                <tr>
                                                    <td>
                                                        <asp:RadioButtonList ID="rblMaxPart" runat="server" RepeatDirection="Horizontal" Width="100%">
                                                        </asp:RadioButtonList>
                                                    </td>
                                                    <td align="right">
                                                        <asp:TextBox ID="txtMaxPartLimit" CssClass="textbox textboxMan" Width="35px" runat="server" MaxLength="5"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvMaxPartLimit" runat="server" 
                                                            ControlToValidate="txtMaxPartLimit"
                                                            EnableClientScript="true"
                                                            Display="None"></asp:RequiredFieldValidator>
                                                        <asp:RangeValidator ID="rvMaxPartLimit" runat="server" 
                                                            ControlToValidate="txtMaxPartLimit"
                                                            Display="None"
                                                            Type="Integer" ></asp:RangeValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="width: 100%; padding-top: 5px; vertical-align: middle;"><b>Nomination Amount</b>&nbsp;&nbsp;
                                    <asp:TextBox ID="txtNomAmount" CssClass="textbox" Width="35px" runat="server" MaxLength="5" Text="0"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvNomAmount" runat="server" 
                                            ControlToValidate="txtNomAmount"
                                            EnableClientScript="true"
                                            Display="None"></asp:RequiredFieldValidator>
                                        <asp:RangeValidator ID="rvNomAmount" runat="server" 
                                            ControlToValidate="txtNomAmount"
                                            Display="None"
                                            Type="Integer"></asp:RangeValidator>
                                        <asp:DropDownList ID="ddlCurrency" CssClass="ddl" runat="server" Width="40px"></asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding-top: 5px;">
                                        <fieldset>
                                            <legend>File Upload:</legend>
                                            <asp:CheckBox ID="cbUpload" runat="server" CssClass="solid" Text="Allow file upload" />
                                            <asp:CheckBoxList ID="cblFileType" CssClass="solid" runat="server" Width="100%" RepeatColumns="4" RepeatLayout="Table" RepeatDirection="Horizontal">
                                            </asp:CheckBoxList>
                                        </fieldset>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </td>
     </tr>
    <tr>
        <td style="width: 50%; vertical-align: top; padding-top: 5px" >
            <fieldset style="width: 98%;">
                <legend><img alt="Sponsor" src="Images/dj/sponsor.gif" style="width:20px;" />&nbsp;Sponcership:</legend>
                <table cellpadding="0" cellspacing="0" class="general">
                    <tr>
                        <td><asp:CheckBox ID="cbSponcership" CssClass="solid" runat="server" Text="Allow Sponcership" /></td>
                    </tr>
                    <tr>
                        <td style="padding-left: 10px">
                            <table id="tabSponsorship" cellpadding="0" cellspacing="0" class="general">
                                <tr>
                                    <td style="width: 100%">Start Date</td>
                                    <td>
                                        <table class="general">
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtSponcerStData" CssClass="textbox textboxMan" Width="75px" runat="server" MaxLength="12"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvSponcerStData" runat="server" 
                                                        ControlToValidate="txtSponcerStData"
                                                        EnableClientScript="true"
                                                        Display="None"></asp:RequiredFieldValidator>
                                                    <asp:RangeValidator ID="rvSponcerStData" runat="server" 
                                                        ControlToValidate="txtSponcerStData"
                                                        Display="None"
                                                        Type="Date"></asp:RangeValidator>
                                                </td>
                                                <td><input id="btnShowCal3" runat="server" type="button" style="background-image: url(Images/dj/cal.gif); width: 24px; height: 23px; background-color: Transparent; border: none 0px;"  /></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 100%">Minimum Amount</td>
                                    <td>
                                        <asp:TextBox ID="txtMinSponsor" CssClass="textbox" Width="35px" runat="server" MaxLength="5"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvMinSponsor" runat="server" 
                                            ControlToValidate="txtMinSponsor"
                                            EnableClientScript="true"
                                            Display="None"></asp:RequiredFieldValidator>
                                        <asp:RangeValidator ID="rvMinSponsor" runat="server" 
                                            ControlToValidate="txtMinSponsor"
                                            Display="None"
                                            Type="Integer"></asp:RangeValidator>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </td>
    </tr>
</table>
<asp:ValidationSummary ID="vsContent" ShowMessageBox="true" ShowSummary="false" runat="server" />